/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module SCT.h - Service Codes Table Header file |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/Include/sct.h $ 
 * 
 * 4     2/21/00 3:00p Jim_b4
 * Include file restructuring
 * 
 * 3     11/30/99 3:23p Kevin_v1
 * Removed File Name Message file usage
 * 
 * 2     11/05/99 3:07p Kevin_v1
 * Moved SCT_OPERATION funciton to Card Module
 * 
 * 1     11/04/99 4:08p Kevin_v1
 * 
 * 1     7/19/99 5:32p Jim_b4
 * 
 * 1     7/19/99 4:10p Jim_b4
 * 
 * 2     6/09/99 11:18a Monique_b1
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#ifndef VSSCT_H
#define VSSCT_H

#include <sizes.h>

#define SCT_FILE_NAME         "sct.dat"


typedef struct TagSCT_REC
{
	char szServiceCode [SERVICE_CODE_SIZE + 1];
} SCT_REC;

#define SIZE_SCT_REC  (int)sizeof(SCT_REC)


/* Read functions  */

#define vdGetSCTServiceCode(pchServiceCode) \
	strlcpy (pchServiceCode, srSCTRec.szServiceCode, SERVICE_CODE_SIZE)

/* Write functions */
#define vdSetSCTServiceCode(pchServiceCode) \
	strlcpy(srSCTRec.szServiceCode, pchServiceCode, SERVICE_CODE_SIZE)

int		inGetSCTTotRecs (void);
VS_BOOL fIsINTERAC(char *pszServiceCode);
int		inEditSCTOperation (TRANSACTION_OBJECT *pobTran);

#endif /* VSSCT_H */
